package com.wjy.game.message.data.res;

import com.wjy.game.enums.Operate;
import com.wjy.game.message.ReqMessageData;
import lombok.Data;

@Data
public class ReadyRes implements ReqMessageData {

    /**
     * 房间id
     */
    private String roomId;

    /**
     * 对手信息
     */
    private String playerId;

    private String playerName;

    private boolean isBlack;

    @Override
    public String identify() {
        return playerId;
    }

    @Override
    public Operate operate() {
        return Operate.READY;
    }
}
